package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.io.Serializable;

/**
 * 汽车信息对象 car_info
 *
 * @author ruoyi
 * @date 2023-01-26
 */
@TableName("car_info")
public class CarInfo extends BaseEntity implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 汽车id */
    @TableId
    private Long id;

    /** 品牌 */
    @Excel(name = "品牌")
    private String brand;

    /** 拼音 */
    @Excel(name = "拼音")
    private String spell;

    /** 车型号 */
    @Excel(name = "车型号")
    private String type;

    /** 产型 */
    @Excel(name = "产型")
    private String origin;

    /** 批次 */
    @Excel(name = "批次")
    private String batch;

    /** vin码 */
    @Excel(name = "vin码")
    private String vin;

    /** 轴数 */
    @Excel(name = "轴数")
    private Long axlesCount;

    /** 生产年份 */
    @Excel(name = "生产年份")
    private String carYear;

    /** 时间区间 */
    @Excel(name = "时间区间")
    private String carSpan;

    /** 时间区间-开始 */
    @Excel(name = "时间区间-开始")
    private String carStartTime;

    /** 时间区间-结束 */
    @Excel(name = "时间区间-结束")
    private String carEndTime;

    /** 排量 */
    @Excel(name = "排量")
    private String displacement;

    /** 速度G值 */
    @Excel(name = "速度G值")
    private String velocity;

    /** 动力种类 */
    @Excel(name = "动力种类")
    private String combustionType;

    /** 发动机型号 */
    @Excel(name = "发动机型号")
    private String engineModel;

    /** 热门值 */
    @Excel(name = "热门值")
    private Long hot;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setBrand(String brand)
    {
        this.brand = brand;
    }

    public String getBrand()
    {
        return brand;
    }
    public void setSpell(String spell)
    {
        this.spell = spell;
    }

    public String getSpell()
    {
        return spell;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setOrigin(String origin)
    {
        this.origin = origin;
    }

    public String getOrigin()
    {
        return origin;
    }
    public void setBatch(String batch)
    {
        this.batch = batch;
    }

    public String getBatch()
    {
        return batch;
    }
    public void setVin(String vin)
    {
        this.vin = vin;
    }

    public String getVin()
    {
        return vin;
    }
    public void setAxlesCount(Long axlesCount)
    {
        this.axlesCount = axlesCount;
    }

    public Long getAxlesCount()
    {
        return axlesCount;
    }
    public void setCarYear(String carYear)
    {
        this.carYear = carYear;
    }

    public String getCarYear()
    {
        return carYear;
    }
    public void setCarSpan(String carSpan)
    {
        this.carSpan = carSpan;
    }

    public String getCarSpan()
    {
        return carSpan;
    }
    public void setCarStartTime(String carStartTime)
    {
        this.carStartTime = carStartTime;
    }

    public String getCarStartTime()
    {
        return carStartTime;
    }
    public void setCarEndTime(String carEndTime)
    {
        this.carEndTime = carEndTime;
    }

    public String getCarEndTime()
    {
        return carEndTime;
    }
    public void setDisplacement(String displacement)
    {
        this.displacement = displacement;
    }

    public String getDisplacement()
    {
        return displacement;
    }
    public void setVelocity(String velocity)
    {
        this.velocity = velocity;
    }

    public String getVelocity()
    {
        return velocity;
    }
    public void setCombustionType(String combustionType)
    {
        this.combustionType = combustionType;
    }

    public String getCombustionType()
    {
        return combustionType;
    }
    public void setEngineModel(String engineModel)
    {
        this.engineModel = engineModel;
    }

    public String getEngineModel()
    {
        return engineModel;
    }
    public void setHot(Long hot)
    {
        this.hot = hot;
    }

    public Long getHot()
    {
        return hot;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("brand", getBrand())
                .append("spell", getSpell())
                .append("type", getType())
                .append("origin", getOrigin())
                .append("batch", getBatch())
                .append("vin", getVin())
                .append("axlesCount", getAxlesCount())
                .append("carYear", getCarYear())
                .append("carSpan", getCarSpan())
                .append("carStartTime", getCarStartTime())
                .append("carEndTime", getCarEndTime())
                .append("displacement", getDisplacement())
                .append("velocity", getVelocity())
                .append("combustionType", getCombustionType())
                .append("engineModel", getEngineModel())
                .append("hot", getHot())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
